/**
* @ProjectName: ShopSytem
* @Title: UserWordDaoImpl.java 
* @Package com.element5th.shop.dao.leaveword 
* @Description: 前台用户留言相关操作
* @author 第五元素小组   
* @date 2012-10-26 15:25:07 
* @version V1.0   
*/ 
package com.element5th.shop.dao.leaveword;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;

import com.element5th.shop.comm.BaseDao;
import com.element5th.shop.comm.SystemException;
import com.element5th.shop.dto.BaseDto;
import com.element5th.shop.entity.LeaveWord;


/**
 * The Class UserWordDaoImpl.
 */
public class WordDaoImpl extends BaseDao implements IWordDao {
	/*  
	* Title: addWord 
	* Description: 添加留言
	* @param dto 要添加的留言对象
	* @return 操作是否成功
	* @see com.element5th.shop.dao.leaveword.IWordDao#addWord(com.element5th.shop.dto.BaseDto) 
	*/ 
	@Override
	public boolean addWord(BaseDto dto) {
		// TODO Auto-generated method stub
		return this.save(dto.getLeaveWord());
	}

	/*  
	* Title: wordList 
	* Description: 得到用户的留言列表
	* @param dto 用户对象
	* @return 包含留言列表的用户对象
	* @see com.element5th.shop.dao.leaveword.IWordDao#wordList(com.element5th.shop.dto.BaseDto) 
	*/ 
	@Override
	public BaseDto wordList(BaseDto dto) {
		// TODO Auto-generated method stub
		return null;
	}

	/*  
	* Title: allWord 
	* Description: 得到所有留言列表
	* @return 所有留言列表
	* @see com.element5th.shop.dao.leaveword.IWordDao#allWord() 
	*/ 
	@Override
	public List<BaseDto> allWord() {
		// TODO Auto-generated method stub
		return null;
	}

	/*  
	* Title: wordDetail 
	* Description: 得到留言详细信息
	* @param dto 留言对象
	* @return 包含详细信息的留言对象
	* @see com.element5th.shop.dao.leaveword.IWordDao#wordDetail(com.element5th.shop.dto.BaseDto) 
	*/ 
	@Override
	public BaseDto wordDetail(BaseDto dto) {
		// TODO Auto-generated method stub
		return null;
	}

}
